class GetTripOrderList {
  String id;
  String intercityId;
  String depAre;
  String depTime;
  String destArea;
  String destTime;
  String status;
  String orderType;
  String price;

  GetTripOrderList(
      {this.id,
      this.intercityId,
      this.depAre,
      this.depTime,
      this.destArea,
      this.destTime,
      this.status,
      this.orderType,
      this.price});

  GetTripOrderList.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    intercityId = json['intercity_id'];
    depAre = json['dep_are'];
    depTime = json['dep_time'];
    destArea = json['dest_area'];
    destTime = json['dest_time'];
    status = json['status'];
    orderType = json['order_type'];
    price = json['price'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['intercity_id'] = this.intercityId;
    data['dep_are'] = this.depAre;
    data['dep_time'] = this.depTime;
    data['dest_area'] = this.destArea;
    data['dest_time'] = this.destTime;
    data['status'] = this.status;
    data['order_type'] = this.orderType;
    data['price'] = this.price;
    return data;
  }
}
